package com.letfox.user.service.query.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.user.dao.query.AccountQueryDao;
import com.letfox.user.model.query.AccountAuthorityQuery;
import com.letfox.user.service.query.AccountQueryService;

@Service
public class AccountQueryServiceImpl implements AccountQueryService {

	@Autowired
	private AccountQueryDao accountQueryDao;
	
	@Override
	public List<AccountAuthorityQuery> getAuthorityListByParams(Map<String, Object> params) {
		
		List<AccountAuthorityQuery> result = accountQueryDao.selectAuthorityListByParams(params);
		
		return result;
	}

}
